package com.izobnehc.rabbit.rabbitadmin;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

@SpringBootApplication
@ComponentScans({
        @ComponentScan("com.izobnehc.rabbit.rabbitgenerator")
})
@MapperScans({
        @MapperScan("com.izobnehc.rabbit.rabbitgenerator.mapper"),
        @MapperScan("com.izobnehc.rabbit.rabbitadmin.mapper")
})
public class RabbitAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(RabbitAdminApplication.class, args);
    }

}
